package com.example.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author lbq
 * @version 1.0
 * @date 2021/5/30 20:09
 */
@Data
@Accessors(chain = true)
@Document("lagou_resume")
public class Resume {

    @Id
    private ObjectId id;

    private String name;

    private Double salary;
}
